<template>
    <div>
        <xsfrom   :tabeoption ="tabeoption" ></xsfrom>
    </div>
</template>

<script>
import xsfrom from '@/components/form/xsform.vue'
import {gentlist}  from '@/api/agent'
    export default {
            components:{
                'xsfrom':xsfrom
            },
            data() {
                return {
                    tabeoption:{
                    postfn:gentlist,
                    column:[
                    { prop:"id" , label:"id",  width:"120"  },
          
                    { prop:"username" , label:"账号",  width:"120"  },
                    { prop:"password" , label:"密码",  width:"120"  },
                    { prop:"right" , label:"操作",  width:"100" , },
                    ],
                    options:[
                    {
                        value: '0',
                        label: '综合搜索'
                      }, {
                        value: 'username',
                        label: '用户'
                      }
              
                    ]
                }
            
                }
            },
    }
</script>

<style lang="scss" scoped>

</style>